/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Ex6.Banking;

/**
 *
 * @author Root
 */
public class SavingsAccount extends Account {

    private double interstRate;

    public SavingsAccount(double balance, double interstRate) {
        super(balance);
        this.interstRate = interstRate;
//        System.out.println("creating saving account with a "+balance+"balance and "+interstRate+" % interest");
    }

}
